package com.example.demo.myModel.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 菜单
 */
@Data
@TableName("menu")
public class Menu extends  BaseEntity {

    /**
     * menuId ,自增
     */
    @TableId(type = IdType.AUTO)
    private int menuId;

    /**
     * 菜单名称
     */
    private  String menuName;


    /**
     * 权限等级id，外键Authority表的id
     */
    private  int authorityId;
}
